<!DOCTYPE html>
<html>


<!-- Mirrored from www.zi-han.net/theme/hplus/clients.html by HTTrack Website Copier/3.x [XR&CO'2014], Wed, 20 Jan 2016 14:19:44 GMT -->
<head>

    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">


    <title>{$sysname} - 系统公告</title>
    <meta name="keywords" content="H+后台主题,后台bootstrap框架,会员中心主题,后台HTML,响应式后台">
    <meta name="description" content="H+是一个完全响应式，基于Bootstrap3最新版本开发的扁平化主题，她采用了主流的左右两栏式布局，使用了Html5+CSS3等现代技术">

    <link rel="shortcut icon" href="favicon.ico"> <link href="css/bootstrap.min14ed.css?v=3.3.6" rel="stylesheet">
    <link href="css/font-awesome.min93e3.css?v=4.4.0" rel="stylesheet">

    <link href="css/animate.min.css" rel="stylesheet">
    <link href="css/style.min862f.css?v=4.1.0" rel="stylesheet">

</head>

<body class="gray-bg">
<div class="wrapper wrapper-content  animated fadeInRight">
    <div class="row">
        <div class="col-sm-8" style="width: 100%">
            <div class="ibox">
                <div class="ibox-content">
                    <h2>系统公告</h2>
                    <div class="clients-list">
                        <ul class="nav nav-tabs">
                            <span class="pull-right small text-muted"> <a class="label label-primary"  href="{:U('Sysnotice/add')}" style="top: 10px;position: relative">添加公告</a></span>
                            <li class="active"><a data-toggle="tab" href="#tab-1"><i class="fa fa-user"></i>系统公告</a>
                            </li>

                        </ul>
                        <div class="tab-content">
                            <div id="tab-1" class="tab-pane active">
                                <div class="full-height-scroll">
                                    <div class="table-responsive">
                                        <table class="table table-striped table-hover">
                                            <tbody>
                                            <th style="width:15% ">公告名称</th>
                                            <th style="width: 40%">公告内容</th>
                                            <th style="width:15% ">发布时间</th>
                                            <th style="width:10% ">操作</th>
                                            <foreach name="sysnotice" item="item">
                                                <tr>
                                                    <td>
                                                        <img alt="image" class="client-avatar" src="img/a2.jpg" style="display: none">
                                                        <a data-toggle="tab" href="#contact-1" class="client-link">{$item.title}</a>
                                                    </td>
                                                    <td>
                                                        <div style="width: 100%;max-height: 80px;overflow: auto">
                                                            {$item.content}
                                                        </div>

                                                    </td>
                                                    <td>{:date('Y-m-d H:i:s',$item[date])}</td>
                                                    <td class="client-status" style="cursor: pointer">
                                                        <a href="{:U('Sysnotice/detail',array('id'=>$item[id]))}" class="label label-primary" style="<if condition="$item.id eq 1"> display: none </if>;margin-right:10px"   >
                                                        编辑
                                                        </a>
                                                        <span class="label label-primary" onclick="delectthis({$item.id})">
                                                        删除
                                                        </span>
                                                    </td>
                                                </tr>
                                            </foreach>
                                            </tbody>
                                        </table>
                                    </div>
                                </div>
                            </div>
                        </div>

                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
<script src="js/jquery.min.js?v=2.1.4"></script>
<script src="js/bootstrap.min.js?v=3.3.6"></script>
<script src="js/plugins/slimscroll/jquery.slimscroll.min.js"></script>
<script src="js/content.min.js?v=1.0.0"></script>
<script>
    $(function(){$(".full-height-scroll").slimScroll({height:"100%"})});
</script>
<script>
    function delectthis(id){
        var res = confirm('请注意！删除后不可恢复。确定要删除吗？');
        if(res == true){
            //window.location.href="index.php?m=Admin&c=Sysnotice&a=del&id="+id;
            window.location.href="{:U('Sysnotice/del')}"+"&id="+id;
        }
    }
</script>
<script type="text/javascript" src="http://tajs.qq.com/stats?sId=9051096" charset="UTF-8"></script>
</body>


<!-- Mirrored from www.zi-han.net/theme/hplus/clients.html by HTTrack Website Copier/3.x [XR&CO'2014], Wed, 20 Jan 2016 14:19:44 GMT -->
</html>
